package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

public interface LoginService {


    public Result update(Member member);

    public Member getById(Integer id);

    // ------------------------
    public Result getByMemberId(Integer memberId);
    public Result getByMemberIdAndStartDateAndendDate(Integer memberId,String startDate,String endDate);
    public Result getByMemberIdAndsetmealId(Integer memberId,Integer setmealId);

    ////////////////////////////////////////////////

    public Member getByPhoneNumber(String telephone);

    public Result check(Map map);

    public Integer insertMember(String  telephone);

}
